***ROBUSTNESS CHECKS FOR APPENDIX***


***Multilevel model versions
melogit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural i.year if EU15==1 [pw=weight] || cntryID:,
outreg2 using multi1.doc, dec(2) replace
melogit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.year if EU15==1 [pw=weight] || cntryID:,
outreg2 using multi1.doc, dec(2) append
melogit voted i.monitoring c.deficit i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.year if EU15==1 [pw=weight] || cntryID:,
outreg2 using multi1.doc, dec(2) append
melogit voted i.monitoring c.unemp_change i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.year if EU15==1 [pw=weight] || cntryID:,
outreg2 using multi1.doc, dec(2) append
melogit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest if piigs==1 [pw=weight] || cntryID:,
outreg2 using multi1.doc, dec(2) append


**Manually doing the diff-in-diff
gen treatment=0
replace treatment=1 if year>2010
logit voted i.piigs##i.treatment  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using diffdiff.doc, dec(2) replace
logit voted i.piigs##i.treatment c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using diffdiff.doc, dec(2) append
logit voted i.piigs##i.treatment c.unemp_change  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using diffdiff.doc, dec(2) append
logit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest if piigs==1 [pw=weight], cluster (cntryID)
outreg2 using diffdiff.doc, dec(2) append


//Testing different method of operationalising education using 5-point categorical
logit voted i.monitoring##c.education c.deficit i.gender i.age_cat swi i.empstat i.partner i.rural c.lrscale politic_interest i.emu i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
margins monitoring, at(education=(1(1)5)) post
marginsplot, l(90) xlabel(0(1)5) addplot(histogram education if e(sample), discrete percent width(0.5) yaxis(2) yscale(alt) fcolor(%20) lc(black%30) )

***Sensitivity test based on countries
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
estimates store a1
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 & cntry!="ES" [pw=weight], cluster (cntryID)
estimates store a2
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 & cntry!="GR" [pw=weight], cluster (cntryID)
estimates store a3
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 & cntry!="IT" [pw=weight], cluster (cntryID)
estimates store a4
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 & cntry!="PR" [pw=weight], cluster (cntryID)
estimates store a5
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 & cntry!="IE" [pw=weight], cluster (cntryID)
estimates store a6

set scheme plottigblind
coefplot a1 a2 a3 a4 a5 a6, keep(*.monitoring deficit) vertical yline(0) ci(99 95)





***Satisfaction with income substitute***

logit voted i.monitoring  i.gender i.age_cat c.eduyrs swi i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table1_inc.doc, dec(2) replace
logit voted i.monitoring c.deficit  i.gender i.age_cat c.eduyrs swi i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table1_inc.doc, dec(2) append
logit voted i.monitoring c.unemp_change i.gender i.age_cat c.eduyrs swi i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table1_inc.doc, dec(2) append




***diferent economic controls***

factor unemp_change debt_change realgdpgr
sumscale, f1(unemp_change debt_change realgdpgr)
rename Factor1_average misery
label var misery "Economic misery"


logit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year  c.deficit  if EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table_econ.doc,replace dec(2) 
logit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year c.unemp_change if  EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table_econ.doc,append dec(2) 
logit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year debt if  EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table_econ.doc,append dec(2) 
logit voted i.monitoring i.gender i.age_cat c.eduyrs incomenew i.empstat i.partner i.rural c.lrscale politic_interest i.cntryID i.year misery if  EU15==1 [pw=weight], cluster (cntryID)
outreg2 using table_econ.doc,append dec(2) 


